<link href="build/viewer/viewer.min.css" rel="stylesheet" type="text/css" media="screen"/>
<script src="build/viewer/viewer.min.js" type="text/javascript"></script>
<style>
.images li{
	list-style: none;
	float:left;
	padding:10px;
}
img{
	cursor:pointer;
}
</style>
<div class="pageContent">
	<form method="post" action="#" class="pageForm required-validate" enctype="multipart/form-data" onsubmit="return iframeCallback(this, navTabAjaxDone);">
		<div class="pageFormContent " layoutH="56">
			<p>
				<label>用户编号</label>
				<input type="text" value="#(merch.code )" readonly="readonly" size="30"/>
			</p>

			<p>
				<label>用户名称</label>
				<input type="text" size="30" value="#(merch.name )" readonly="readonly"/>
			</p>
			<p>
				<label>所属机构</label>
				<input type="text" size="30" value="#(org.name )-#(org.code)" readonly="readonly"/>
			</p>
			<p>
				<label>老铁牛客户号</label>
				<input type="text" size="30" value="#(merch.contacts )" readonly="readonly"/>
			</p>
			<p>
				<label>登录账户</label>
				<input type="text" size="30" value="#(merch.contactsPhoneNo )" readonly="readonly"/>
			</p>
			<p>
				<label>法定代表人</label>
				<input type="text" size="30" value="#(merch.legalPerson )" readonly="readonly"/>
			</p>
			<p>
				<label>法定代表人证件号</label>
				<input type="text" size="30" value="#(merch.certsNo )" readonly="readonly"/>
			</p>


			#if(merch.isSign)
			<p>
				<label>查看合同</label>
			<a href="#(merch.viewpdf_url)">查看合同</a>
			</p>
			#end


			<div style="display: none" class="divider"></div>
				<label>商户文件</label>
				<ul class="images">
				  	#for(item:fileNameList)
					    <li>
					    	<div class="col-sm-12 col-md-12">
								<img src="/upload/merch-data/#(merch.code )/#(item)"  width="200px">
						        <div class="thumbnail">
									<a href="showFile?fileName=#(item)&merchCode=#(merch.code)">#(item)文件查看</a>
						        </div>
						    </div>
					    </li>
				  	#end
				  </ul>
		</div>
		<!--<div class="formBar">-->
			<!--<ul>-->
				<!--<li>-->
					<!--<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>-->
				<!--</li>-->
			<!--</ul>-->
		<!--</div>-->
	</form>
</div>
<script type="text/javascript">
$('.images').viewer();
</script>
